package com.qf.order.service;

import com.github.pagehelper.PageInfo;
import com.qf.order.entity.Workorder;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_workorder
 * @Package com.qf.order.service
 * @Description: ${TODO}
 * @Date 2021/10/2 22:23
 */
public interface WorkorderService {

    void insert(Workorder workorder);
    void deleteById(Integer id);
    void updateById(Workorder workorder);

    Workorder findById(Integer id);

    PageInfo<Workorder> findByProjectIdAndPage(Integer pageNum,Integer pageSize, Integer projectId);
}
